.class public Lcom/estrongs/android/pop/view/utils/f;
.super Ljava/lang/Object;
.source "ViewModeUtil.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/view/utils/f$a;
    }
.end annotation


# static fields
.field private static volatile a:Ljava/lang/String;

.field private static volatile b:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->p()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/estrongs/android/pop/view/utils/f;->a:Ljava/lang/String;

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->z()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/estrongs/android/pop/view/utils/f;->b:Ljava/lang/String;

    return-void
.end method

.method public static a(Ljava/lang/String;)Lcom/estrongs/android/pop/view/utils/f$a;
    .locals 4

    const-string v0, "view_local"

    .line 47
    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 48
    new-instance v0, Lcom/estrongs/android/pop/view/utils/f$a;

    invoke-direct {v0, p0, v1, v1, v1}, Lcom/estrongs/android/pop/view/utils/f$a;-><init>(Ljava/lang/String;III)V

    return-object v0

    .line 49
    :cond_0
    new-instance v0, Lcom/estrongs/android/pop/view/utils/f$a;

    const/4 v2, 0x3

    const/4 v3, 0x1

    invoke-direct {v0, p0, v1, v2, v3}, Lcom/estrongs/android/pop/view/utils/f$a;-><init>(Ljava/lang/String;III)V

    return-object v0
.end method

.method public static a(Ljava/lang/String;Ljava/lang/String;)Lcom/estrongs/android/pop/view/utils/f$a;
    .locals 11

    .line 23
    new-instance v0, Ljava/lang/StringBuffer;

    invoke-direct {v0, p1}, Ljava/lang/StringBuffer;-><init>(Ljava/lang/String;)V

    .line 24
    invoke-virtual {v0}, Ljava/lang/StringBuffer;->length()I

    move-result p1

    const/4 v1, 0x4

    if-eq p1, v1, :cond_0

    .line 25
    invoke-static {p0}, Lcom/estrongs/android/pop/view/utils/f;->a(Ljava/lang/String;)Lcom/estrongs/android/pop/view/utils/f$a;

    move-result-object p0

    return-object p0

    :cond_0
    const/4 p1, 0x0

    .line 26
    invoke-virtual {v0, p1}, Ljava/lang/StringBuffer;->charAt(I)C

    move-result v2

    const/4 v3, 0x1

    .line 27
    invoke-virtual {v0, v3}, Ljava/lang/StringBuffer;->charAt(I)C

    move-result v4

    const/4 v5, 0x2

    .line 28
    invoke-virtual {v0, v5}, Ljava/lang/StringBuffer;->charAt(I)C

    move-result v6

    const/16 v7, 0x30

    sub-int/2addr v6, v7

    const/4 v8, 0x3

    .line 29
    invoke-virtual {v0, v8}, Ljava/lang/StringBuffer;->charAt(I)C

    move-result v0

    sub-int/2addr v0, v7

    const/16 v9, 0x31

    const/16 v10, 0x32

    if-ne v2, v10, :cond_1

    if-ne v4, v9, :cond_1

    const/4 v1, 0x5

    goto :goto_0

    :cond_1
    if-ne v2, v9, :cond_2

    if-ne v4, v9, :cond_2

    goto :goto_0

    :cond_2
    if-ne v2, v7, :cond_3

    if-ne v4, v9, :cond_3

    const/4 v1, 0x3

    goto :goto_0

    :cond_3
    if-ne v2, v10, :cond_4

    if-ne v4, v10, :cond_4

    const/16 v1, 0x8

    goto :goto_0

    :cond_4
    if-ne v2, v9, :cond_5

    if-ne v4, v10, :cond_5

    const/4 v1, 0x7

    goto :goto_0

    :cond_5
    if-ne v2, v7, :cond_6

    if-ne v4, v10, :cond_6

    const/4 v1, 0x6

    goto :goto_0

    :cond_6
    if-ne v2, v10, :cond_7

    if-ne v4, v7, :cond_7

    const/4 v1, 0x2

    goto :goto_0

    :cond_7
    if-ne v2, v9, :cond_8

    if-ne v4, v7, :cond_8

    const/4 v1, 0x1

    goto :goto_0

    :cond_8
    const/4 v1, 0x0

    .line 30
    :goto_0
    new-instance p1, Lcom/estrongs/android/pop/view/utils/f$a;

    invoke-direct {p1, p0, v1, v6, v0}, Lcom/estrongs/android/pop/view/utils/f$a;-><init>(Ljava/lang/String;III)V

    return-object p1
.end method

.method public static a(II)Les/q70;
    .locals 1

    const/4 v0, 0x1

    if-nez p1, :cond_0

    const/4 p1, 0x1

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    if-eqz p0, :cond_4

    if-eq p0, v0, :cond_3

    const/4 v0, 0x2

    if-eq p0, v0, :cond_2

    const/4 v0, 0x3

    if-eq p0, v0, :cond_1

    const/4 p0, 0x0

    return-object p0

    .line 43
    :cond_1
    new-instance p0, Les/s70;

    invoke-direct {p0, p1}, Les/s70;-><init>(Z)V

    return-object p0

    .line 44
    :cond_2
    new-instance p0, Les/u70;

    invoke-direct {p0, p1}, Les/u70;-><init>(Z)V

    return-object p0

    .line 45
    :cond_3
    new-instance p0, Les/v70;

    invoke-direct {p0, p1}, Les/v70;-><init>(Z)V

    return-object p0

    .line 46
    :cond_4
    new-instance p0, Les/t70;

    invoke-direct {p0, p1}, Les/t70;-><init>(Z)V

    return-object p0
.end method

.method private static a(III)Ljava/lang/String;
    .locals 5

    .line 1
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const/16 v1, 0x31

    const/16 v2, 0x32

    const/16 v3, 0x30

    const/4 v4, 0x5

    if-ne p0, v4, :cond_0

    .line 2
    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 3
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    goto :goto_0

    :cond_0
    const/4 v4, 0x4

    if-ne p0, v4, :cond_1

    .line 4
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 5
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    goto :goto_0

    :cond_1
    const/4 v4, 0x3

    if-ne p0, v4, :cond_2

    .line 6
    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 7
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    goto :goto_0

    :cond_2
    const/16 v4, 0x8

    if-ne p0, v4, :cond_3

    .line 8
    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 9
    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    goto :goto_0

    :cond_3
    const/4 v4, 0x7

    if-ne p0, v4, :cond_4

    .line 10
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 11
    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    goto :goto_0

    :cond_4
    const/4 v4, 0x6

    if-ne p0, v4, :cond_5

    .line 12
    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 13
    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    goto :goto_0

    :cond_5
    const/4 v4, 0x2

    if-ne p0, v4, :cond_6

    .line 14
    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 15
    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    goto :goto_0

    :cond_6
    const/4 v2, 0x1

    if-ne p0, v2, :cond_7

    .line 16
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 17
    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    goto :goto_0

    .line 18
    :cond_7
    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 19
    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    :goto_0
    add-int/2addr p1, v3

    int-to-char p0, p1

    .line 20
    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    add-int/2addr p2, v3

    int-to-char p0, p2

    .line 21
    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 22
    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method private static a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    .line 31
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->U(Ljava/lang/String;)I

    move-result p0

    const/4 v0, 0x1

    if-ne p0, v0, :cond_0

    const-string p0, "view_smb"

    goto/16 :goto_3

    :cond_0
    const/4 v0, 0x2

    if-eq p0, v0, :cond_10

    const/16 v0, 0x13

    if-eq p0, v0, :cond_10

    const/16 v0, 0x14

    if-eq p0, v0, :cond_10

    const/4 v0, 0x5

    if-ne p0, v0, :cond_1

    goto/16 :goto_2

    :cond_1
    const/4 v0, 0x3

    if-ne p0, v0, :cond_2

    const-string p0, "view_bt"

    goto/16 :goto_3

    :cond_2
    const/4 v0, 0x4

    if-ne p0, v0, :cond_3

    const-string p0, "view_net"

    goto :goto_3

    :cond_3
    const/16 v0, 0x17

    if-ne p0, v0, :cond_4

    const-string p0, "view_pcs"

    goto :goto_3

    :cond_4
    const/16 v0, 0x18

    if-ne p0, v0, :cond_5

    const-string p0, "view_app"

    goto :goto_3

    :cond_5
    const/16 v0, 0xc

    if-ne p0, v0, :cond_6

    const-string p0, "view_music"

    goto :goto_3

    :cond_6
    const/16 v0, 0xd

    if-ne p0, v0, :cond_7

    const-string p0, "view_pic"

    goto :goto_3

    :cond_7
    const/16 v0, 0xe

    if-ne p0, v0, :cond_8

    const-string p0, "view_video"

    goto :goto_3

    :cond_8
    const/16 v0, 0x10

    if-ne p0, v0, :cond_9

    const-string p0, "view_book"

    goto :goto_3

    :cond_9
    const/16 v0, 0x15

    if-eq p0, v0, :cond_f

    const/16 v0, 0x16

    if-ne p0, v0, :cond_a

    goto :goto_1

    :cond_a
    const/16 v0, 0x1c

    if-eq p0, v0, :cond_e

    const/16 v0, 0x27

    if-ne p0, v0, :cond_b

    goto :goto_0

    :cond_b
    const/16 v0, 0x28

    if-ne p0, v0, :cond_c

    const-string p0, "view_encrypt"

    goto :goto_3

    :cond_c
    const/16 v0, 0x19

    if-ne p0, v0, :cond_d

    const-string p0, "view_local_gallery"

    goto :goto_3

    :cond_d
    const-string p0, "view_local"

    goto :goto_3

    :cond_e
    :goto_0
    const-string p0, "view_compress"

    goto :goto_3

    :cond_f
    :goto_1
    const-string p0, "view_webdav"

    goto :goto_3

    :cond_10
    :goto_2
    const-string p0, "view_ftp"

    .line 32
    :goto_3
    invoke-static {p1}, Lcom/estrongs/android/pop/view/utils/f;->b(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_11

    const-string p0, "view_local_special"

    :cond_11
    return-object p0
.end method

.method private static a(Landroid/content/Context;Lcom/estrongs/android/pop/view/utils/f$a;)V
    .locals 3

    .line 40
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p0

    .line 41
    iget v0, p1, Lcom/estrongs/android/pop/view/utils/f$a;->b:I

    iget v1, p1, Lcom/estrongs/android/pop/view/utils/f$a;->c:I

    iget v2, p1, Lcom/estrongs/android/pop/view/utils/f$a;->d:I

    invoke-static {v0, v1, v2}, Lcom/estrongs/android/pop/view/utils/f;->a(III)Ljava/lang/String;

    move-result-object v0

    .line 42
    iget-object p1, p1, Lcom/estrongs/android/pop/view/utils/f$a;->a:Ljava/lang/String;

    invoke-virtual {p0, p1, v0}, Lcom/estrongs/android/pop/l;->l(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;I)V
    .locals 0

    .line 33
    invoke-static {p0, p1}, Lcom/estrongs/android/pop/view/utils/f;->c(Landroid/content/Context;Ljava/lang/String;)Lcom/estrongs/android/pop/view/utils/f$a;

    move-result-object p1

    .line 34
    iput p2, p1, Lcom/estrongs/android/pop/view/utils/f$a;->b:I

    .line 35
    invoke-static {p0, p1}, Lcom/estrongs/android/pop/view/utils/f;->a(Landroid/content/Context;Lcom/estrongs/android/pop/view/utils/f$a;)V

    return-void
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;II)V
    .locals 0

    .line 36
    invoke-static {p0, p1}, Lcom/estrongs/android/pop/view/utils/f;->c(Landroid/content/Context;Ljava/lang/String;)Lcom/estrongs/android/pop/view/utils/f$a;

    move-result-object p1

    .line 37
    iput p2, p1, Lcom/estrongs/android/pop/view/utils/f$a;->c:I

    .line 38
    iput p3, p1, Lcom/estrongs/android/pop/view/utils/f$a;->d:I

    .line 39
    invoke-static {p0, p1}, Lcom/estrongs/android/pop/view/utils/f;->a(Landroid/content/Context;Lcom/estrongs/android/pop/view/utils/f$a;)V

    return-void
.end method

.method public static a(I)Z
    .locals 1

    const/4 v0, 0x6

    if-eq p0, v0, :cond_1

    const/4 v0, 0x7

    if-eq p0, v0, :cond_1

    const/16 v0, 0x8

    if-ne p0, v0, :cond_0

    goto :goto_0

    :cond_0
    const/4 p0, 0x0

    return p0

    :cond_1
    :goto_0
    const/4 p0, 0x1

    return p0
.end method

.method public static b(Landroid/content/Context;Ljava/lang/String;)I
    .locals 0

    .line 4
    invoke-static {p0, p1}, Lcom/estrongs/android/pop/view/utils/f;->c(Landroid/content/Context;Ljava/lang/String;)Lcom/estrongs/android/pop/view/utils/f$a;

    move-result-object p0

    iget p0, p0, Lcom/estrongs/android/pop/view/utils/f$a;->b:I

    return p0
.end method

.method public static b(Ljava/lang/String;)Z
    .locals 2

    const/4 v0, 0x0

    if-eqz p0, :cond_3

    .line 1
    invoke-static {p0}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    goto :goto_1

    .line 2
    :cond_0
    sget-object v1, Lcom/estrongs/android/pop/view/utils/f;->a:Ljava/lang/String;

    invoke-static {v1, p0}, Lcom/estrongs/android/util/h0;->i(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_2

    sget-object v1, Lcom/estrongs/android/pop/view/utils/f;->b:Ljava/lang/String;

    .line 3
    invoke-static {v1, p0}, Lcom/estrongs/android/util/h0;->i(Ljava/lang/String;Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_1

    goto :goto_0

    :cond_1
    return v0

    :cond_2
    :goto_0
    const/4 p0, 0x1

    return p0

    :cond_3
    :goto_1
    return v0
.end method

.method public static c(Landroid/content/Context;Ljava/lang/String;)Lcom/estrongs/android/pop/view/utils/f$a;
    .locals 3

    .line 2
    invoke-static {p0, p1}, Lcom/estrongs/android/pop/view/utils/f;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p1

    .line 4
    invoke-virtual {p1, p0}, Lcom/estrongs/android/pop/l;->w(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "view_local_special"

    .line 5
    invoke-virtual {p0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {p1, p0}, Lcom/estrongs/android/pop/l;->d(Ljava/lang/String;)Z

    move-result p1

    if-nez p1, :cond_0

    .line 6
    new-instance p1, Lcom/estrongs/android/pop/view/utils/f$a;

    const/4 v0, 0x0

    const/4 v1, 0x3

    const/4 v2, 0x1

    invoke-direct {p1, p0, v0, v1, v2}, Lcom/estrongs/android/pop/view/utils/f$a;-><init>(Ljava/lang/String;III)V

    return-object p1

    .line 7
    :cond_0
    invoke-static {p0, v0}, Lcom/estrongs/android/pop/view/utils/f;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/estrongs/android/pop/view/utils/f$a;

    move-result-object p0

    return-object p0
.end method

.method public static c(Ljava/lang/String;)V
    .locals 0

    .line 1
    sput-object p0, Lcom/estrongs/android/pop/view/utils/f;->a:Ljava/lang/String;

    return-void
.end method

.method public static d(Ljava/lang/String;)V
    .locals 0

    .line 1
    sput-object p0, Lcom/estrongs/android/pop/view/utils/f;->b:Ljava/lang/String;

    return-void
.end method
